/// intoList : [{"number":0,"month":"2024-02"},{"number":6,"month":"2024-03"},{"number":15,"month":"2024-04"},{"number":15,"month":"2024-05"},{"number":30,"month":"2024-06"},{"number":11,"month":"2024-07"}]
/// outList : [{"number":0,"month":"2024-02"},{"number":2,"month":"2024-03"},{"number":4,"month":"2024-04"},{"number":15,"month":"2024-05"},{"number":3,"month":"2024-06"},{"number":5,"month":"2024-07"}]

class MonthIntoOutData {
  MonthIntoOutData({
      this.intoList, 
      this.outList,});

  MonthIntoOutData.fromJson(dynamic json) {
    if (json['intoList'] != null) {
      intoList = [];
      json['intoList'].forEach((v) {
        intoList?.add(IntoList.fromJson(v));
      });
    }
    if (json['outList'] != null) {
      outList = [];
      json['outList'].forEach((v) {
        outList?.add(IntoList.fromJson(v));
      });
    }
  }
  List<IntoList>? intoList;
  List<IntoList>? outList;
MonthIntoOutData copyWith({  List<IntoList>? intoList,
  List<IntoList>? outList,
}) => MonthIntoOutData(  intoList: intoList ?? this.intoList,
  outList: outList ?? this.outList,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (intoList != null) {
      map['intoList'] = intoList?.map((v) => v.toJson()).toList();
    }
    if (outList != null) {
      map['outList'] = outList?.map((v) => v.toJson()).toList();
    }
    return map;
  }

}

/// number : 0
/// month : "2024-02"

class IntoList {
  IntoList({
      this.number, 
      this.month,});

  IntoList.fromJson(dynamic json) {
    number = json['number'];
    month = json['month'];
  }
  num? number;
  String? month;
IntoList copyWith({  num? number,
  String? month,
}) => IntoList(  number: number ?? this.number,
  month: month ?? this.month,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['number'] = number;
    map['month'] = month;
    return map;
  }

}